﻿<script type="text/javascript">
    $(document).ready(function () {
        $("#dautienne").hide();
        $("#dautienne").slideDown(500);
    });
    
</script>
@model List<DealKhuyenMaiV2.com.Models.Comment>
@if (Model.Count > 0)
{
    <div id="listComment">
        <div class="BoxView" id="dautienne">
            <div class="BoxConView">
                <div class="ContView" style="font-family: 'Comic Sans MS'">
                    <p style="font-family: Arial;">
                        <strong class="Nick">@Model[0].Account.Email<a href="#"></a></strong><span class="Text11">&nbsp;gửi
                            lúc @Model.ElementAt(0).DateAdder</span>
                    </p>
                    @Model.ElementAt(0).Description
                </div>
            </div>
        </div>
        @for (int i = 1; i < Model.Count; i++)
        {
            <div class="BoxView">
                <div class="BoxConView">
                    <div class="ContView" style="font-family: 'Comic Sans MS'">
                        <p style="font-family: Arial;">
                            <strong class="Nick">@Model[i].Account.Email<a href="#"></a></strong><span class="Text11">&nbsp;gửi
                                lúc @Model.ElementAt(i).DateAdder</span>
                        </p>
                        @Model.ElementAt(i).Description
                    </div>
                </div>
            </div>
        }
    </div>
}